package moves;

import java.util.ArrayList;

public class Moves {
	
	ArrayList<int[]> moves; //add all moves/clicks that have been done. The will ease the job of undoing
	
	public Moves(){
		moves = new ArrayList<int[]>();
	}
	
	public void addMove(int x, int y){
		int icon = -1;
		if(moves.size()==0 || moves.size()%2==0) icon = 1;
		else icon = 0;
		int[] data = {x,y,icon};
		moves.add(data);
	}
	
}
